package com.ruoyi.agriculture.zs.service;

import java.util.List;
import com.ruoyi.agriculture.zs.domain.ZsQuestionLike;

/**
 * 问答点赞Service接口
 * 
 * @author zs
 * @date 2025-07-27
 */
public interface IZsQuestionLikeService 
{
    /**
     * 查询问答点赞
     * 
     * @param zsLikeId 问答点赞主键
     * @return 问答点赞
     */
    public ZsQuestionLike selectZsQuestionLikeByZsLikeId(Long zsLikeId);

    /**
     * 查询问答点赞列表
     * 
     * @param zsQuestionLike 问答点赞
     * @return 问答点赞集合
     */
    public List<ZsQuestionLike> selectZsQuestionLikeList(ZsQuestionLike zsQuestionLike);

    /**
     * 新增问答点赞
     * 
     * @param zsQuestionLike 问答点赞
     * @return 结果
     */
    public int insertZsQuestionLike(ZsQuestionLike zsQuestionLike);

    /**
     * 修改问答点赞
     * 
     * @param zsQuestionLike 问答点赞
     * @return 结果
     */
    public int updateZsQuestionLike(ZsQuestionLike zsQuestionLike);

    /**
     * 批量删除问答点赞
     * 
     * @param zsLikeIds 需要删除的问答点赞主键集合
     * @return 结果
     */
    public int deleteZsQuestionLikeByZsLikeIds(Long[] zsLikeIds);

    /**
     * 删除问答点赞信息
     * 
     * @param zsLikeId 问答点赞主键
     * @return 结果
     */
    public int deleteZsQuestionLikeByZsLikeId(Long zsLikeId);
}
